package com.fulu.javabase.classloader;

import sun.misc.Launcher;

import java.net.URL;
import java.util.Arrays;

/**
 * 类加载器测试
 */
public class ClassLoaderTest {
    public static void main(String[] args) {
        // 根类加载器 Bootstrap class loader
        URL[] urLs = Launcher.getBootstrapClassPath().getURLs();
        Arrays.asList(urLs).forEach(System.out::println);
    }
}
